﻿using Dm;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SCM.Domain.Ledger
{
    /// <summary>
    /// 出入库表
    /// </summary>
    public class EnterOutModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }
        /// <summary>
        /// 出入库单号
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 出入库日期
        /// </summary>
        public DateTime DateTime { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        public int BusinessType { get; set; }
        public int StockId { get; set; }
        /// <summary>
        /// 出入库类型
        /// </summary>
        public int STId { get; set; }
        /// <summary>
        /// 仓库编号
        /// </summary>
        public int DepotId { get; set; }
        /// <summary>
        /// 出入库数量
        /// </summary>
        public int IncomingQuantity { get; set; }
        /// <summary>
        /// 出入库金额
        /// </summary>
        public double IncomingMoney { get; set; }
        /// <summary>
        /// 状态 出入库
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDel {  get; set; }=false;
        
    }
}
